﻿<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="cars_cb.aspx.cs" Inherits="CarCallBacks" %>
<%   
    string src = _REQUEST["source"];
    string oper = _REQUEST["oper"];

    switch (src)
    {
        case "CarCatalogue":
            switch (oper)
            {
                case "add":  AddToCarCatalogue(); break;
                case "edit": EditCarCatalogue(); break;
                case "del":  DeleteCarCatalogue(); break;
                case "find": FindInCarCatalogue(); break;
                default: GetCarCatalogue(); break;
            }
            break;

        case "CarPrice":
            switch (oper)
            {
                case "add":  AddToCarPrice(); break;
                case "edit": EditCarPrice(); break;
                case "del":  DeleteCarPrice(); break;
                default: GetCarPrice(); break;
            }
            break;
        default:
            break;
    }
%>